import request from '@/utils/request'

// 查询退住办理列表
export function listCheckoutmanagement(query) {
  return request({
    url: '/le/checkoutmanagement/list',
    method: 'get',
    params: query
  })
}

// 查询退住办理详细
export function getCheckoutmanagement(id) {
  return request({
    url: '/le/checkoutmanagement/' + id,
    method: 'get'
  })
}

// 新增退住办理
export function addCheckoutmanagement(data) {
  return request({
    url: '/le/checkoutmanagement',
    method: 'post',
    data: data
  })
}

// 修改退住办理
export function updateCheckoutmanagement(data) {
  return request({
    url: '/le/checkoutmanagement',
    method: 'put',
    data: data
  })
}

// 删除退住办理
export function delCheckoutmanagement(id) {
  return request({
    url: '/le/checkoutmanagement/' + id,
    method: 'delete'
  })
}
